package com.zrwl.poscloud.xo.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.commons.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 出校通知 VO类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-03-17
 */
@Data
public class TransitSendVO extends BaseVO<TransitSendVO> {
    private static final long serialVersionUID = 1L;
    private String transitUid;
    private String userUid;
    private String userName;
    private int type;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private String employeeName;
    private String employeeSuffix;
    private String employeeCode;
    private String companyCode;
    private String employeeCertCode;
    private String userMobile;
    private String[] deptRoleTree;
    private String adminUid;
    private String adminName;
    private String adminMobile;
    private String companyUid;
    //出入类型名称
    private String typeName;
    //原因类型名称
    private String reasonTypeName;
    private int reasonType;
    //发生时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sourceTime;
}
